package utils

import "encoding/base64"

func PicToBase64(data []byte) string {
	code := base64.StdEncoding.EncodeToString(data)
	return "data:image/png;base64," + code
}
